package com.leinao.model.dto;

import com.leinao.category.dto.CategoryRelationDto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Auther: weiwei
 * @Date: 2019/6/4 13:01
 * @Description:    模型列表数据实体类
 * @Version 1.0
 */
public class PaiModelDto implements Serializable {

    /**
      * 模型Id
      */
    private Long id;

    /**
     * 模型名称
     */
    private String modelName;

    /**
     * 模型简介
     */
    private String modelIntroduction;

    /**
     * 模型是否公开 0：私有  1：公开
     */
    private Integer type;

    /**
     * 模型使用次数
     */
    private Integer usedCount;

    /**
     * 模型关注次数
     */
    private Integer userProjectAttentionCount;

    /**
     * 模型大小
     */
    private Long modelSize;

    /**
     * 模型封面原图地址
     */
    private String coverUrl;

    /**
     * 模型owner昵称
     */
    private String userName;

    /**
     * 模型owner用户名
     */
    private String account;

    /**
     * 模型owner用户Id
     */
    private String userId;

    /**
     * 模型创建时间
     */
    private Long createTime;

    /**
     * 模型语言
     */
    private String language;

    /**
     * 模型框架
     */
    private String frameWork;

    /**
     * 分类信息
     */
    private List<CategoryRelationDto> categoryList = new ArrayList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelIntroduction() {
        return modelIntroduction;
    }

    public void setModelIntroduction(String modelIntroduction) {
        this.modelIntroduction = modelIntroduction;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(Integer usedCount) {
        this.usedCount = usedCount;
    }

    public Integer getUserProjectAttentionCount() {
        return userProjectAttentionCount;
    }

    public void setUserProjectAttentionCount(Integer userProjectAttentionCount) {
        this.userProjectAttentionCount = userProjectAttentionCount;
    }

    public Long getModelSize() {
        return modelSize;
    }

    public void setModelSize(Long modelSize) {
        this.modelSize = modelSize;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getFrameWork() {
        return frameWork;
    }

    public void setFrameWork(String frameWork) {
        this.frameWork = frameWork;
    }

    public List<CategoryRelationDto> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<CategoryRelationDto> categoryList) {
        this.categoryList = categoryList;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
}

